package com.sys.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sys.pojo.EmployeeAttendance;

import java.util.Map;

/**
 * <p>
 * 出勤 服务类
 * </p>
 *
 * @author ZJF
 * @since 2021-04-01
 */
public interface EmployeeAttendanceService extends IService<EmployeeAttendance> {

    /**
     * 添加出勤记录
     *
     * @param vo
     * @return
     */
    Boolean addAttendance(EmployeeAttendance vo);

    /**
     * 分页获取出勤记录
     *
     * @param vo
     * @return
     */
    IPage<EmployeeAttendance> pageAttendance(EmployeeAttendance vo);

    /**
     * 获取出勤情况
     * @param id,mounth
     * @return
     */
    Map<String ,String> searchInfo(String id, String mounth);

}
